<?php
$title = "OseeYou - trang không tồn tại";
if($_GET['id'] != ''){
	require_once "db/db.php";
	$id = $_GET['id'];
	$select_infor = "SELECT * FROM `oUsers` WHERE `id` = '$id'";
	$result_select = DbSelect($select_infor);
	if($result_select){
		$full_name = ""; $birthday = ""; $gender = ""; $imageB = "";
		$school = ""; $schoolId = ""; $live = ""; $liveId = ""; $registerDay = "";
		foreach ($result_select as $values){
			$full_name = $values['fullName']; $birthday = $values['birthday'];
			$gender = $values['gender']; $imageB = $values['imageB'];				
			$school = $values['school']; $schoolId = $values['schoolId'];
			$live = $values['live']; $liveId = $values['liveId']; $registerDay = $values['registerDay'];		
		}
		$title = $full_name;
		include "pg/html-header.php";	
		include "pg/html-menu.php";
		echo '<div id = "container">';
			echo '<div id = "content">';
				echo '<div id = "content_border">';
					include "pg/o-content.php";
				echo '</div>';
			echo '</div>';	
		echo '</div>';	
		echo '<div id = "sideLeft">';
			include "pg/o-sideLeft.php";
		echo '</div>';
		echo '<div id = "sideRight">';
			include "pg/index-sideRight.php";
		echo '</div>';
	}
	else{
		include "pg/html-header-simple.php";
		include "pg/html-menu.php";
		include "pg/error-content.php";
	}
}
else{
	include "pg/html-header-simple.php";
	include "pg/html-menu.php";
	include "pg/error-content.php";
}
include "pg/html-footer.php";
?>